micro_utils.dokka
0.15.0
jvm
micro_utils.dokka
/
dev.inmo.micro_utils.repos
/
[jvm]SimpleMapperRepo
/
SimpleMapperRepo
Simple
Mapper
Repo
jvm
fun
<
FromKey
,
FromValue
,
ToKey
,
ToValue
>
SimpleMapperRepo
(
keyFromToTo
:
suspend
FromKey
.
(
)
->
ToKey
,
valueFromToTo
:
suspend
FromValue
.
(
)
->
ToValue
,
keyToToFrom
:
suspend
ToKey
.
(
)
->
FromKey
,
valueToToFrom
:
suspend
ToValue
.
(
)
->
FromValue
)